package com.gitee.l0km.codegen.thrift;

import com.gitee.l0km.codegen.base.CreateInterfaceSourceConstants;

/**
 * @author guyadong
 *
 */
public interface ThriftConstants extends CreateInterfaceSourceConstants{

	final String SCHEMA_INFO = "schemainfo";
	final String CXX_HELPER= "cxxhelper";
	final String DIR_SCHEMA = "schema";
	final String DIR_PERSERVICE = "perservice";
	final String DIR_PERSTRUCT = "perstruct";
	final String TASK_TYPE_OPTION = "gt";
	final String TASK_TYPE_OPTION_LONG = "task-type";
	final String TASK_TYPE_OPTION_DESC = "thrift gernerate task type: SERVICE,CLIENT,CLIENT_THRIFTY,ERPC_PROXY";
	final String THRIFT_CLIENT_PKG_OPTION_LONG = "thrift-package";
	final String THRIFT_CLIENT_PKG_OPTION_DESC = "package of thrift client code generated by swift-generator,required by CLIENT task";
	final String LANGUAGE_OPTION = "lg";
	final String LANGUAGE_OPTION_LONG = "language";
	final String LANGUAGE_OPTION_DESC = "gernerate language: JAVA,CPP,C_GLIB,default: JAVA";
	final String CONFIG_OPTION = "cg";
	final String CONFIG_OPTION_LONG = "config";
	final String CONFIG_OPTION_DESC = "config file (.properties)";
	final String TAGS_OPTION_LONG = "tags";
	final String TAGS_OPTION_DESC = "comma separated tag list for filtering service port,default:empty";
	final String COMMON_TYPES_OPTION_LONG = "common-types";
	final String COMMON_TYPES_OPTION_DESC = "common types which will be skip for generation,splited with [,]without blank space";
	final String ERPC_PROGRAM_OPTION_LONG = "erpc-program";
	final String ERPC_PROGRAM_OPTION_DESC = "program name for ERPC_PROXY task";
	final String ERPC_PORT_PREFIX_OPTION_LONG = "erpc-port-prefix";
	final String ERPC_PORT_PREFIX_OPTION_DESC = "prefix for service method name for ERPC_PROXY task";
	final String THRIFT_SERVICE_CLASS_OPTION_LONG = "thrift-service-class";
	final String THRIFT_SERVICE_CLASS_OPTION_DESC = "thrift service class with @ThriftService annotation";	
	final String ERPC_FORWARD_PORT_OPTION_LONG = "erpc-forward-port";
	final String ERPC_FORWARD_PORT_OPTION_DESC = "thrift service port that erpc proxy forward request to,required by ERPC_PROXY task";
	final String ERPC_PROXY_PORT_OPTION_LONG = "erpc-proxy-port";
	final String ERPC_PROXY_PORT_OPTION_DESC = "service port for erpc porxy,required by ERPC_PROXY task";
	final String ERPC_DEFAULT_MAX_LENGTH_OPTION_LONG = "erpc-default-max-length";
	final String ERPC_DEFAULT_MAX_LENGTH_OPTION_DESC = "default value for annotation @max_length,default 256,used by ERPC_PROXY task";
	final String ERPC_ERRMSG_MAX_LENGTH_OPTION_LONG = "erpc-errmsg-max-length";
	final String ERPC_ERRMSG_MAX_LENGTH_OPTION_DESC = "max length for output error message buffer of  each service port,default 256,used by ERPC_PROXY task";
	final String ERPC_BINARY_OUTPUT_SIZE_OPTION_LONG = "erpc-binary-output-size";
	final String ERPC_BINARY_OUTPUT_SIZE_OPTION_DESC = "output size for binary_t,default 256,used by ERPC_PROXY task";
	final String EXTENSIVE_STRUCT_OPTION_LONG = "ext-structs";
	final String EXTENSIVE_STRUCT_OPTION_DESC = "extensive thrift struct class names,splited with [,]without blank space";
	
}
